package Composite_Pattern.Education;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Office_low extends AbstractOffice{
    private String name;
    public Office_low(String name){
        this.name=name;
    }
    @Override
    public void add(AbstractOffice office) {
    }

    @Override
    public AbstractOffice getChild(int i) {
        return null;

    }

    @Override
    public void Notice() {
        System.out.println("通知已发布到"+name);
    }
}
